/*
 * miBus-mobile.css
 */

 /**********************************************
			Importacion de tipografias
 **********************************************/
@font-face {
	font-family: "Arial Rounded";
	src: url('../files/fonts/Arial Rounded MT Bold.eot');
	src: url('../files/fonts/Arial Rounded MT Bold.eot?#iefix') format('embedded-opentype'),
		url('../files/fonts/Arial Rounded MT Bold.ttf') format('truetype'),
		url('../files/fonts/Arial Rounded MT Bold.svg#ArialRoundedMTBold') format('svg'),
		url('../files/fonts/Arial Rounded MT Bold.woff') format('woff');
}

@font-face {
    font-family: 'pt_sansregular';
    src: url('../files/fonts/PTS55F-webfont.eot');
    src: url('../files/fonts/PTS55F-webfont.eot?#iefix') format('embedded-opentype'),
         url('../files/fonts/PTS55F-webfont.ttf') format('truetype'),
         url('../files/fonts/PTS55F-webfont.woff') format('woff'),
         url('../files/fonts/PTS55F-webfont.svg#pt_sansregular') format('svg');
}

@font-face {
	font-family: "Benjamin Gothic";
	src: url('../files/fonts/Benjamin Gothic.eot');
	src: url('../files/fonts/Benjamin Gothic.eot?#iefix') format('embedded-opentype'),
		url('../files/fonts/Benjamin Gothic.ttf') format('truetype'),
		url('../files/fonts/Benjamin Gothic.svg#BenjaminGothic') format('svg'),
		url('../files/fonts/Benjamin Gothic.woff') format('woff')
}

/**********************************************
			Reinicio de propiedades
 **********************************************/
* {
	margin: 0;
	padding: 0;
	border: 0;
}

/**********************************************
			Elementos generales
 **********************************************/
html {
	font-size: 100%;
}

body {
	background-color: #000;
	color: #fff;
	font-family: 'pt_sansregular', 'Arial', 'sans-serif';
	font-size: 0.82em;
	min-width: 316px;
	overflow-y: auto;
}

body > * {
	min-width: inherit;
}

a:active, a:visited, a:link {
	color: inherit;
	text-decoration: none;
}

div[id$=menu] {
	z-index: 2;
}

div.errormessage {
	background-color: #FAEC21;
	color: black;
	display: none;
}

h4 {
	font-size: 1.2em;
}

h5 {
	font-size: 1em;
}

/**********************************************
			Elementos particulares
 **********************************************/

/*----------------------------------------------
			HEADER > NAVBAR > NAV
 ----------------------------------------------*/

#navbar #nav {
	text-align: center;
	margin-left: 20px;
}

#nav > div {
	display: inline-block;
	height: 100%;
	border-right: 1px #fff solid;
}

#nav > div > a {
	padding-left: 5px;
	width: 75px;
	text-align: left;
}

#nav > div:nth-last-child(1) {
	border-right: 0px;
}

#nav .active {
	color: #FFF;
	background-color: #4C4B4B;

	-webkit-box-shadow: inset 0px 0px 18px 0.05px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: inset 0px 0px 18px 0.05px rgba(0, 0, 0, 0.75);
	box-shadow: inset 0px 0px 18px 0.05px rgba(0, 0, 0, 0.75);
}

/*----------------------------------------------
			MENUS > USER MENU
 ----------------------------------------------*/
 
#user_menu {
	position: absolute;
	top: 20px;
	right: 0px;
	height: 46px;
	width: 120px;
	font-family: 'pt_sansregular', 'Arial', 'sans-serif';
	font-weight: bold;
	text-align: center;
	color: #000;

	background: linear-gradient(bottom, #88E5E2, #6EBBBB);
	background: -webkit-linear-gradient(bottom, #88E5E2, #6EBBBB);
	background: -moz-linear-gradient(bottom, #88E5E2, #6EBBBB);
	background: -o-linear-gradient(bottom, #88E5E2, #6EBBBB);
	background: -ms-linear-gradient(bottom, #88E5E2, #6EBBBB);

	-webkit-box-shadow: inset 0px 0px 18px 0.05px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: inset 0px 0px 18px 0.05px rgba(0, 0, 0, 0.75);
	box-shadow: inset 0px 0px 18px 0.05px rgba(0, 0, 0, 0.75);
}

#user_menu > div {
	display: block;
	border-bottom: 1px solid rgba(117, 117, 117, 0.5);
}

#user_menu > div:nth-last-child(1) {
	border-bottom: 0;
}

#user_menu .active {
	color: #FAEC21;
}

/*----------------------------------------------
			HEADER
 ----------------------------------------------*/

#header {
	position: absolute;
	top: 0;
	left: 0;
	height: 66px;
	width: 100%;
}

#header > div {
	display: block;
}

/*----------------------------------------------
			HEADER > USER INFO
 ----------------------------------------------*/
#header #user_info {
	height: 20px;
	width: inherit;
	color: #fff;
}

#header #user_info > *, #footer #contact_us {
	float: right;
	height: 100%;
}

#user_info .active {
	color: #FAEC21;
}

#user {
	width: auto;
	padding: 0 30px;
}

#user > div {
	text-align: right;
}

#user span.text {
	padding-left: 5px;
	text-transform: uppercase;
}

/*----------------------------------------------
			HEADER > NAVBAR
 ----------------------------------------------*/
#header #navbar {
	background-color: #97FFFC;
	font-family: "Benjamin Gothic", "Arial", "sans-serif";
	color: #000;
	height: 46px;
	width: inherit;
}

#header #navbar > *, #footer > div {
	float: left;
	height: 100%;
}

#header #navbar , #footer, h3, #user_menu {
	font-size: 1.4em;
}

#navbar #logo {
	background-color: transparent;
	position: relative;
	top: -18px;
	margin-left: 20px;
	display: inline-block;
}

#logo > a {
	display: inline-block;
}

/*----------------------------------------------
			CONTENT
 ----------------------------------------------*/
#content {
	position: absolute;
	top: 66px;
	bottom: 34px;
	left: 0;
	width: 100%;
	color: #000;
}

/*----------------------------------------------
			CONTENT > NOTIFICATIONS
 ----------------------------------------------*/

#content #notifications {
	position: absolute;
	z-index: 5;
	top: 5px;
	left: 20%;
	right: 20%;
	background-color: #FAF89C;
	color: #000;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	border: 1px solid #F0C36D;
	display: none;
	font-family: "Arial Rounded", "Arial", "sans-serif";
}

#notifications > div {
	padding: 10px 20px;
}

/*----------------------------------------------
			CONTENT > SUBCONTENTs
 ----------------------------------------------*/

#content #subcontent {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	background-color: #fff;
	overflow-y: auto;
}

/*----------------------------------------------
			FOOTER
 ----------------------------------------------*/

#footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: inherit;
	color: inherit;
}

/*----------------------------------------------
			FOOTER > SYSTEM INFO
 ----------------------------------------------*/

#footer #system_info > div {
	display: inline-block;
	height: 100%;
	border-right: 1px #fff solid;
	width: 260px;
	padding: 0 20px 0 20px;
}

#system_info > div > a {
	width: 172px;
	padding-left: 20px;
	text-align: left;
}

/*----------------------------------------------
			FOOTER > CONTACT US
 ----------------------------------------------*/

#contact_us > div {
	display: inline-block;
	height: 100%;
	border-right: 1px #fff solid;
	border-right: 0px;
	border-left: 1px solid #fff;
}

#contact_us > div > span.text {
	margin-left: 10px;
}

#contact_us.active * {
	color: #FAEC21;
}

/*----------------------------------------------
			MENUS
 ----------------------------------------------*/

#menus > * {
	display: none;
}

/*----------------------------------------------
			MENUS > CONTACT US
 ----------------------------------------------*/

#contact_us_menu {
	position: absolute;
	bottom: 32px;
	right: 0;
	background-color: #000000;
	padding: 10px 25px;
	width: 320px;
}

#contact_us_menu * {
	font-size: 1.1em;
	font-family: 'pt_sansregular', 'Arial', 'sans-serif';
}

#contact_us_menu form div.input, #contact_us_menu form div.submit {
	margin-top: 10px;
}

#contact_us_menu form textarea {
	resize: none;
	overflow: auto;
}

#contact_us_menu form input, #contact_us_menu form textarea {
	width: 100%;
}

#contact_us_menu form div.input.required label:after {
	content: " *";
}

#contact_us_menu form div.input > * {
	display: block;
}

#contact_us_menu form div.submit {
	text-align: right;
}

#contact_us_menu form input[type=submit] {
	margin: 0 auto;
	padding: 4px 6px;
	width: auto;
	text-transform: uppercase;
	background-color: #FFFFFF;
	font-weight: bold;
	cursor: pointer;
}

/**********************************************
			Clases
 **********************************************/

.link {
	cursor: pointer;
}

.link:hover * {
	text-decoration: underline;
}

.block {
	height: inherit;
	text-align: center;
}

.block:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.centered {
  display: inline-block;
  vertical-align: middle;
}

[class*=cerrar] {
	display: inline-block;
	float: right;
	position: relative;
	top: 10px;
	right: 10px;
	cursor: pointer;
}

/**********************************************
			Media Queries
 **********************************************/

/*----------------------------------------------
			FOOTER
 ----------------------------------------------*/

@media (max-width: 729px) {

	#system_info > div, #contact_us > div {
		padding: 0 5px 0 2px;
		width: 60px;
	}
}

@media (min-width: 730px) {
	#system_info > div, #contact_us > div {
		padding: 0 20px 0 0;
		width: 180px;
	}
}

@media (width: 524px) {
	#footer #contact_us > div {
		padding-right: 21px;
		border-left: 0px;
	}
}

@media (min-width: 524px) {

	#content {
		bottom: 50px;
	}

	#footer {
		height: 50px;
	}

	#contact_us_menu {
		bottom: 50px;
	}

	#footer #contact_us > div {
		width: 200px;
		padding-right: 20px;
	}
}

@media (max-width: 523px) {
	
	#content {
		bottom: 50px;
	}

	#footer {
		height: 50px;
	}

	#contact_us_menu {
		bottom: 50px;
	}

	#footer #contact_us span.text {
		display: none;
	}
}

@media (min-width: 368px) and (max-width: 523px) {
	#footer #contact_us {
		float: left;
	}

	#footer #contact_us > div {
		width: 60px;
		text-align: center;
		border-left: 0px;
	}
}

@media (max-width: 367px) {

	#content {
		bottom: 32px;
	}

	#footer {
		height: 32px;
	}
	
	#footer #contact_us {
		float: right;
	}

	#footer #system_info > div {
		width: 60px;
		text-align: center;
	}

	#footer #system_info > div > a {
		display: none;
	}
}

/*----------------------------------------------
			MENUS
 ----------------------------------------------*/

/*@media (min-width: 556px) and (max-width: 744px), (min-width: 890px) {
	#menus #user_menu {
		top: 20px;
		right: 0px;
	}
}*/

@media (max-width: 555px) {
	#menus #user_menu {
		top: 66px;
		left: 0px;
		width: 100%;
		padding: 0px;
		min-width: inherit;
	}

	#user_menu > * {
		width: 80%;
		margin: 0 auto;
	}
}

@media (max-width: 555px) {
	#menus #contact_us_menu {
		top: 66px;
		left: 0;
		right: 0;
		bottom: 32px;
		width: auto;
		overflow-y: auto;
	}
}